-- shrine
-- created by panyl
-- 神龛

return {
    restoreGrid = function(grid, info)

    end,

    -- 收集上下文
    collectContext = function(grid)
        return {};
    end,

    autoFight = function(grid)
        local pos = grid:getPos();
        if DungeonInstanceM.isInInstance() then
            -- 如果在副本中，走副本奖励流程
            return DungeonActionM.go("take_instance_bonus", pos);
        else
            return DungeonActionM.go("do_building_bonus", pos);
        end
    end,
};
